import request from '@/utils/request'

// 文件上传
export function uploadFile(data) {
  let params = new FormData();
  params.append("file",data.file);
  return request({
    url:'/common/backend_upload',
    method:'post',
    data:params
  })
}
